package cn.yujiago.api.alipay.pojo;

import com.alipay.demo.trade.model.GoodsDetail;

import java.util.List;

/**
 * 存储生成二维码所需的订单信息
 */
public class QRCode {

    private String outTradeNo;
    private String subject;
    private String totalAmount;
    private String undiscountableAmount;
    private String sellerId;
    private String body;
    private String operatorId;
    private String storeId;
    private String timeoutExpress;
    private List<GoodsDetail> goodsDetailList;

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(String totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getUndiscountableAmount() {
        return undiscountableAmount;
    }

    public void setUndiscountableAmount(String undiscountableAmount) {
        this.undiscountableAmount = undiscountableAmount;
    }

    public String getSellerId() {
        return sellerId;
    }

    public void setSellerId(String sellerId) {
        this.sellerId = sellerId;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getTimeoutExpress() {
        return timeoutExpress;
    }

    public void setTimeoutExpress(String timeoutExpress) {
        this.timeoutExpress = timeoutExpress;
    }

    public List<GoodsDetail> getGoodsDetailList() {
        return goodsDetailList;
    }

    public void setGoodsDetailList(List<GoodsDetail> goodsDetailList) {
        this.goodsDetailList = goodsDetailList;
    }

    @Override
    public String toString() {
        return "QRCode{" +
                "outTradeNo='" + outTradeNo + '\'' +
                ", subject='" + subject + '\'' +
                ", totalAmount='" + totalAmount + '\'' +
                ", undiscountableAmount='" + undiscountableAmount + '\'' +
                ", sellerId='" + sellerId + '\'' +
                ", body='" + body + '\'' +
                ", operatorId='" + operatorId + '\'' +
                ", storeId='" + storeId + '\'' +
                ", timeoutExpress='" + timeoutExpress + '\'' +
                ", goodsDetailList=" + goodsDetailList +
                '}';
    }
}
